Integrand size = 25, antiderivative size = 715 \[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2} \, dx=\frac {7 a b}{\left (a^2+b^2\right )^2 f \sqrt [3]{d \sec (e+f x)}}-\frac {7 a b^{4/3} \arctan \left (\frac {1}{\sqrt {3}}-\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt {3} \sqrt [6]{a^2+b^2}}\right ) \sqrt [6]{\sec ^2(e+f x)}}{2 \sqrt {3} \left (a^2+b^2\right )^{13/6} f \sqrt [3]{d \sec (e+f x)}}+\frac {7 a b^{4/3} \arctan \left (\frac {1}{\sqrt {3}}+\frac {2 \sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt {3} \sqrt [6]{a^2+b^2}}\right ) \sqrt [6]{\sec ^2(e+f x)}}{2 \sqrt {3} \left (a^2+b^2\right )^{13/6} f \sqrt [3]{d \sec (e+f x)}}-\frac {7 a b^{4/3} \text {arctanh}\left (\frac {\sqrt [3]{b} \sqrt [6]{\sec ^2(e+f x)}}{\sqrt [6]{a^2+b^2}}\right ) \sqrt [6]{\sec ^2(e+f x)}}{3 \left (a^2+b^2\right )^{13/6} f \sqrt [3]{d \sec (e+f x)}}+\frac {7 a b^{4/3} \log \left (\sqrt [3]{a^2+b^2}-\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right ) \sqrt [6]{\sec ^2(e+f x)}}{12 \left (a^2+b^2\right )^{13/6} f \sqrt [3]{d \sec (e+f x)}}-\frac {7 a b^{4/3} \log \left (\sqrt [3]{a^2+b^2}+\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\sec ^2(e+f x)}+b^{2/3} \sqrt [3]{\sec ^2(e+f x)}\right ) \sqrt [6]{\sec ^2(e+f x)}}{12 \left (a^2+b^2\right )^{13/6} f \sqrt [3]{d \sec (e+f x)}}+\frac {\operatorname {AppellF1}\left (\frac {1}{2},2,\frac {7}{6},\frac {3}{2},\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [6]{\sec ^2(e+f x)} \tan (e+f x)}{a^2 f \sqrt [3]{d \sec (e+f x)}}+\frac {b^2 \operatorname {AppellF1}\left (\frac {3}{2},2,\frac {7}{6},\frac {5}{2},\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right ) \sqrt [6]{\sec ^2(e+f x)} \tan ^3(e+f x)}{3 a^4 f \sqrt [3]{d \sec (e+f x)}}-\frac {a b}{\left (a^2+b^2\right ) f \sqrt [3]{d \sec (e+f x)} \left (a^2-b^2 \tan ^2(e+f x)\right )} \]
7*a*b/(a^2+b^2)^2/f/(d*sec(f*x+e))^(1/3)-7/3*a*b^(4/3)*arctanh(b^(1/3)*(se c(f*x+e)^2)^(1/6)/(a^2+b^2)^(1/6))*(sec(f*x+e)^2)^(1/6)/(a^2+b^2)^(13/6)/f /(d*sec(f*x+e))^(1/3)+7/12*a*b^(4/3)*ln((a^2+b^2)^(1/3)-b^(1/3)*(a^2+b^2)^ (1/6)*(sec(f*x+e)^2)^(1/6)+b^(2/3)*(sec(f*x+e)^2)^(1/3))*(sec(f*x+e)^2)^(1 /6)/(a^2+b^2)^(13/6)/f/(d*sec(f*x+e))^(1/3)-7/12*a*b^(4/3)*ln((a^2+b^2)^(1 /3)+b^(1/3)*(a^2+b^2)^(1/6)*(sec(f*x+e)^2)^(1/6)+b^(2/3)*(sec(f*x+e)^2)^(1 /3))*(sec(f*x+e)^2)^(1/6)/(a^2+b^2)^(13/6)/f/(d*sec(f*x+e))^(1/3)+7/6*a*b^ (4/3)*arctan(-1/3*3^(1/2)+2/3*b^(1/3)*(sec(f*x+e)^2)^(1/6)/(a^2+b^2)^(1/6) *3^(1/2))*(sec(f*x+e)^2)^(1/6)/(a^2+b^2)^(13/6)/f/(d*sec(f*x+e))^(1/3)*3^( 1/2)+7/6*a*b^(4/3)*arctan(1/3*3^(1/2)+2/3*b^(1/3)*(sec(f*x+e)^2)^(1/6)/(a^ 2+b^2)^(1/6)*3^(1/2))*(sec(f*x+e)^2)^(1/6)/(a^2+b^2)^(13/6)/f/(d*sec(f*x+e ))^(1/3)*3^(1/2)+AppellF1(1/2,2,7/6,3/2,b^2*tan(f*x+e)^2/a^2,-tan(f*x+e)^2 )*(sec(f*x+e)^2)^(1/6)*tan(f*x+e)/a^2/f/(d*sec(f*x+e))^(1/3)+1/3*b^2*Appel lF1(3/2,2,7/6,5/2,b^2*tan(f*x+e)^2/a^2,-tan(f*x+e)^2)*(sec(f*x+e)^2)^(1/6) *tan(f*x+e)^3/a^4/f/(d*sec(f*x+e))^(1/3)-a*b/(a^2+b^2)/f/(d*sec(f*x+e))^(1 /3)/(a^2-b^2*tan(f*x+e)^2)
Result contains complex when optimal does not.
Time = 137.80 (sec) , antiderivative size = 18832, normalized size of antiderivative = 26.34 \[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2} \, dx=\text {Result too large to show} \]
Time = 1.22 (sec) , antiderivative size = 574, normalized size of antiderivative = 0.80, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {3042, 3994, 505, 2009}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2}dx\) |
\(\Big \downarrow \) 3994 |
\(\displaystyle \frac {\sqrt [6]{\sec ^2(e+f x)} \int \frac {1}{(a+b \tan (e+f x))^2 \left (\tan ^2(e+f x)+1\right )^{7/6}}d(b \tan (e+f x))}{b f \sqrt [3]{d \sec (e+f x)}}\) |
\(\Big \downarrow \) 505 |
\(\displaystyle \frac {\sqrt [6]{\sec ^2(e+f x)} \int \left (\frac {a^2}{\left (\tan ^2(e+f x)+1\right )^{7/6} \left (a^2-b^2 \tan ^2(e+f x)\right )^2}-\frac {2 b \tan (e+f x) a}{\left (\tan ^2(e+f x)+1\right )^{7/6} \left (a^2-b^2 \tan ^2(e+f x)\right )^2}+\frac {b^2 \tan ^2(e+f x)}{\left (\tan ^2(e+f x)+1\right )^{7/6} \left (b^2 \tan ^2(e+f x)-a^2\right )^2}\right )d(b \tan (e+f x))}{b f \sqrt [3]{d \sec (e+f x)}}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {\sqrt [6]{\sec ^2(e+f x)} \left (\frac {b \tan (e+f x) \operatorname {AppellF1}\left (\frac {1}{2},2,\frac {7}{6},\frac {3}{2},\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right )}{a^2}-\frac {7 a b^{7/3} \arctan \left (\frac {1}{\sqrt {3}}-\frac {2 \sqrt [3]{b} \sqrt [6]{\tan ^2(e+f x)+1}}{\sqrt {3} \sqrt [6]{a^2+b^2}}\right )}{2 \sqrt {3} \left (a^2+b^2\right )^{13/6}}+\frac {7 a b^{7/3} \arctan \left (\frac {2 \sqrt [3]{b} \sqrt [6]{\tan ^2(e+f x)+1}}{\sqrt {3} \sqrt [6]{a^2+b^2}}+\frac {1}{\sqrt {3}}\right )}{2 \sqrt {3} \left (a^2+b^2\right )^{13/6}}-\frac {7 a b^{7/3} \text {arctanh}\left (\frac {\sqrt [3]{b} \sqrt [6]{\tan ^2(e+f x)+1}}{\sqrt [6]{a^2+b^2}}\right )}{3 \left (a^2+b^2\right )^{13/6}}+\frac {7 a b^2}{\left (a^2+b^2\right )^2 \sqrt [6]{\tan ^2(e+f x)+1}}-\frac {a b^2}{\left (a^2+b^2\right ) \sqrt [6]{\tan ^2(e+f x)+1} \left (a^2-b^2 \tan ^2(e+f x)\right )}+\frac {7 a b^{7/3} \log \left (-\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\tan ^2(e+f x)+1}+\sqrt [3]{a^2+b^2}+b^{2/3} \sqrt [3]{\tan ^2(e+f x)+1}\right )}{12 \left (a^2+b^2\right )^{13/6}}-\frac {7 a b^{7/3} \log \left (\sqrt [3]{b} \sqrt [6]{a^2+b^2} \sqrt [6]{\tan ^2(e+f x)+1}+\sqrt [3]{a^2+b^2}+b^{2/3} \sqrt [3]{\tan ^2(e+f x)+1}\right )}{12 \left (a^2+b^2\right )^{13/6}}+\frac {b^3 \tan ^3(e+f x) \operatorname {AppellF1}\left (\frac {3}{2},2,\frac {7}{6},\frac {5}{2},\frac {b^2 \tan ^2(e+f x)}{a^2},-\tan ^2(e+f x)\right )}{3 a^4}\right )}{b f \sqrt [3]{d \sec (e+f x)}}\) |
((Sec[e + f*x]^2)^(1/6)*((-7*a*b^(7/3)*ArcTan[1/Sqrt[3] - (2*b^(1/3)*(1 + Tan[e + f*x]^2)^(1/6))/(Sqrt[3]*(a^2 + b^2)^(1/6))])/(2*Sqrt[3]*(a^2 + b^2 )^(13/6)) + (7*a*b^(7/3)*ArcTan[1/Sqrt[3] + (2*b^(1/3)*(1 + Tan[e + f*x]^2 )^(1/6))/(Sqrt[3]*(a^2 + b^2)^(1/6))])/(2*Sqrt[3]*(a^2 + b^2)^(13/6)) - (7 *a*b^(7/3)*ArcTanh[(b^(1/3)*(1 + Tan[e + f*x]^2)^(1/6))/(a^2 + b^2)^(1/6)] )/(3*(a^2 + b^2)^(13/6)) + (7*a*b^(7/3)*Log[(a^2 + b^2)^(1/3) - b^(1/3)*(a ^2 + b^2)^(1/6)*(1 + Tan[e + f*x]^2)^(1/6) + b^(2/3)*(1 + Tan[e + f*x]^2)^ (1/3)])/(12*(a^2 + b^2)^(13/6)) - (7*a*b^(7/3)*Log[(a^2 + b^2)^(1/3) + b^( 1/3)*(a^2 + b^2)^(1/6)*(1 + Tan[e + f*x]^2)^(1/6) + b^(2/3)*(1 + Tan[e + f *x]^2)^(1/3)])/(12*(a^2 + b^2)^(13/6)) + (b*AppellF1[1/2, 2, 7/6, 3/2, (b^ 2*Tan[e + f*x]^2)/a^2, -Tan[e + f*x]^2]*Tan[e + f*x])/a^2 + (b^3*AppellF1[ 3/2, 2, 7/6, 5/2, (b^2*Tan[e + f*x]^2)/a^2, -Tan[e + f*x]^2]*Tan[e + f*x]^ 3)/(3*a^4) + (7*a*b^2)/((a^2 + b^2)^2*(1 + Tan[e + f*x]^2)^(1/6)) - (a*b^2 )/((a^2 + b^2)*(1 + Tan[e + f*x]^2)^(1/6)*(a^2 - b^2*Tan[e + f*x]^2))))/(b *f*(d*Sec[e + f*x])^(1/3))
3.7.38.3.1 Defintions of rubi rules used
Int[((c_) + (d_.)*(x_))^(n_)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Int[E xpandIntegrand[(a + b*x^2)^p, (c/(c^2 - d^2*x^2) - d*(x/(c^2 - d^2*x^2)))^( -n), x], x] /; FreeQ[{a, b, c, d, p}, x] && ILtQ[n, -1] && PosQ[a/b]
Int[((d_.)*sec[(e_.) + (f_.)*(x_)])^(m_.)*((a_) + (b_.)*tan[(e_.) + (f_.)*( x_)])^(n_), x_Symbol] :> Simp[d^(2*IntPart[m/2])*((d*Sec[e + f*x])^(2*FracP art[m/2])/(b*f*(Sec[e + f*x]^2)^FracPart[m/2])) Subst[Int[(a + x)^n*(1 + x^2/b^2)^(m/2 - 1), x], x, b*Tan[e + f*x]], x] /; FreeQ[{a, b, d, e, f, m, n}, x] && NeQ[a^2 + b^2, 0] && !IntegerQ[m] && IntegerQ[n]
\[\int \frac {1}{\left (d \sec \left (f x +e \right )\right )^{\frac {1}{3}} \left (a +b \tan \left (f x +e \right )\right )^{2}}d x\]
Timed out. \[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2} \, dx=\text {Timed out} \]
\[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2} \, dx=\int \frac {1}{\sqrt [3]{d \sec {\left (e + f x \right )}} \left (a + b \tan {\left (e + f x \right )}\right )^{2}}\, dx \]
\[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2} \, dx=\int { \frac {1}{\left (d \sec \left (f x + e\right )\right )^{\frac {1}{3}} {\left (b \tan \left (f x + e\right ) + a\right )}^{2}} \,d x } \]
\[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2} \, dx=\int { \frac {1}{\left (d \sec \left (f x + e\right )\right )^{\frac {1}{3}} {\left (b \tan \left (f x + e\right ) + a\right )}^{2}} \,d x } \]
Timed out. \[ \int \frac {1}{\sqrt [3]{d \sec (e+f x)} (a+b \tan (e+f x))^2} \, dx=\int \frac {1}{{\left (\frac {d}{\cos \left (e+f\,x\right )}\right )}^{1/3}\,{\left (a+b\,\mathrm {tan}\left (e+f\,x\right )\right )}^2} \,d x \]